package com.miso.shop.dao.impl;

import java.util.List;
import javax.annotation.Resource;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Repository;

import com.miso.shop.dao.DdongDAO0010;
import com.miso.shop.dao.DdongDAO0030;
import com.miso.shop.model.DdongVO0010;
import com.miso.shop.model.DdongVO0030;





@Repository("ddongDAO0030") 
public class DdongDAOImpl0030 implements DdongDAO0030 {

@Resource(name="sqlSession") protected SqlSessionTemplate template;
	 
	@Override
	public void setSqlSessionTemplate(SqlSessionTemplate template) {
		this.template = template;
	}
	
	@Override
	public Object insert(String queryId, Object parameterObject)
	{
		return template.insert(queryId, parameterObject);
	}

	@Override
	public int update(String queryId, Object parameterObject)
	{
		return template.update(queryId, parameterObject);
	}

	@Override
	public int delete(String queryId, Object parameterObject)
	{
		return template.delete(queryId, parameterObject);
	}

	@Override
	public Object selectOne(String queryId, Object parameterObject)
	{
		return template.selectOne(queryId, parameterObject);
	}

	@Override
	public List<DdongVO0030> list(String queryId, Object parameterObject)
	{
		return template.selectList(queryId, parameterObject);
	}
}
